package cn.npe2.scaffolding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 程序启动类入口
 *
 * @author Echan
 * @since 2022-04-01 15:50
 */

@EnableAsync
@EnableScheduling
@EnableTransactionManagement
@MapperScan(basePackages = "cn.npe2.scaffolding.mapper")
@SpringBootApplication(scanBasePackages = {"cn.npe2.scaffolding"})
public class ScaffoldingApplication {

    public static void main(String[] args) {
        SpringApplication.run(ScaffoldingApplication.class, args);
    }

}
